package com.magic.blog.service;

import com.magic.blog.common.lang.Result;
import com.magic.blog.entity.MUser;
import com.baomidou.mybatisplus.extension.service.IService;
import com.magic.blog.shiro.AccountProfile;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author mzk
 * @since 2020-07-24
 */
public interface MUserService extends IService<MUser> {

    Result register(MUser user);


    AccountProfile login(String username, String password);
}
